package com.xln.user;


import com.heima.file.service.impl.MinIOFileStorageService;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@EnableDiscoveryClient
@MapperScan("com.xln.user.mapper")
@SpringBootApplication(
        exclude = {
                MinIOFileStorageService.class,
                RedisAutoConfiguration.class, // 排除Redis自动配置
                com.heima.common.redis.CacheService.class // 直接排除CacheService
        }
)
public class userApplication {
    public static void main(String[] args) {

        SpringApplication.run(userApplication.class,args);
    }
}
